<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>教学信息</title>
    
    <meta name="viewport" content="width=device-width,initial-scale=1" />
    <link rel="stylesheet" type="text/css" href="<%=path %>/css/f/default.css?v=1"/>
	<link rel="stylesheet" type="text/css" href="<%=path %>/css/f/navs.css"/>
	<link rel="stylesheet" type="text/css" href="<%=path %>/css/f/assignment.css"/>
	<script src="js/jquery.min.js"></script>
	<script src="js/f/default.js"></script>
</head>

<body>
	<div class="all">
		<jsp:include page="/nav.jsp"></jsp:include>
        <div class="rightall float-left">
  			<div class="already">
  			<input type="hidden" value="${error_msg }" name="errorMsg" />
	            <div class="already-title">
	                <div class="left">教学信息</div>
	            </div>
	            <c:forEach var="c" items="${courses }">
		            <div class="margin-top-left float-left" style="width:300px;">
		            	<div class="float-left" style="width:30%;">
		  					<span class="margin-top dis-block" style="line-height:30px;">课程编号&nbsp;&nbsp;:&nbsp;&nbsp;</span>
			  				<span class="margin-top dis-block" style="line-height:30px;">课程名称&nbsp;&nbsp;:&nbsp;&nbsp;</span>
			  				<span class="margin-top dis-block" style="line-height:30px;">专业名称&nbsp;&nbsp;:&nbsp;&nbsp;</span>
			  				<span class="margin-top dis-block" style="line-height:30px;">总课时&nbsp;&nbsp;:&nbsp;&nbsp;</span>
			  				<span class="margin-top dis-block" style="line-height:30px;">上课时长&nbsp;&nbsp;:&nbsp;&nbsp;</span>
		            	</div>
		            	<div class="float-left" style="width:70%;">
		  					<div class="margin-top dis-block">
		  						<input type="text" class="task" style="text-align:center;width:100%;" value="${c.courseId}" disabled/>
							</div>
							<div class="margin-top dis-block">
		  						<input type="text" class="task" style="text-align:center;width:100%;" value="${c.courseName }" disabled/>
							</div>
							<div class="margin-top dis-block">
		  						<input type="text" class="task" style="text-align:center;width:100%;" value="${c.majorName }" disabled/>
							</div>
							<div class="margin-top dis-block">
		  						<input type="text" class="task" style="text-align:center;width:100%;" value="${c.courseAllPeriods}" disabled/>
							</div>
							<div class="margin-top dis-block">
		  						<input type="text" class="task" style="text-align:center;width:100%;" value="${c.courseDuration}" disabled/>
							</div>
		            	</div>
	  				</div>
  				</c:forEach>
  			</div>
	    </div>
	 </div>
  </body>
</html>
